// DemoTranslucentDlg.cpp : implementation file
//

#include "stdafx.h"
#include "DemoTranslucentDlg.h"
#include "EnglishToolDlg.h"


// CDemoTranslucentDlg dialog

IMPLEMENT_DYNAMIC(CDemoTranslucentDlg, CTranslucentDialog)
CDemoTranslucentDlg::CDemoTranslucentDlg(LPCTSTR lpszFile, CWnd* pParent /*=NULL*/)
	: CTranslucentDialog(CDemoTranslucentDlg::IDD, lpszFile, pParent)
{
}


CDemoTranslucentDlg::~CDemoTranslucentDlg()
{
}

void CDemoTranslucentDlg::DoDataExchange(CDataExchange* pDX)
{
	CTranslucentDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CDemoTranslucentDlg, CTranslucentDialog)
	ON_MESSAGE( WMOWN_SpeakTalk, OnSpearTalk )
END_MESSAGE_MAP()


CStandardDialog* CDemoTranslucentDlg::CreateStandardDialog()
{
	pDlg = ::new CEnglishToolDlg(this);
	return pDlg;
}

void CDemoTranslucentDlg::OnInitChildrenWnds()
{
}


LRESULT  CDemoTranslucentDlg::OnSpearTalk( WPARAM wParam, LPARAM lParam )
{
	(CEnglishToolDlg*)pDlg->PostMessage( WMOWN_SpeakTalk, wParam, lParam );
	return 0;
}